class ChatMessage {
  final String message;

  ChatMessage({
    required this.message,
  });
}



class AnswerData {
  String? answer;
  String? transcription;
  String? errorMsg;

  AnswerData.fromJson(Map<String, dynamic> json) {
    answer = json['answer'];
    transcription = json['transcription'];
    errorMsg = json['error_msg'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['answer'] = this.answer;
    data['transcription'] = this.transcription;
    data['error_msg'] = this.errorMsg;
    return data;
  }
}
